<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>安装向导 - {:C('INSTALL_APP_NAME')}</title>
	<link rel="shortcut icon" href="__ROOT__/favicon.ico" />
	<link href="__ROOT__/{:C('YTATA_INSTALL_DIR')}/public/css/css.css" rel="stylesheet" type="text/css" />
	<script src="__ROOT__/{:C('YTATA_INSTALL_DIR')}/public/js/jquery.js" type="text/javascript" language="javascript"></script>
	<script>
		$(function(){
			$(".step li:eq(3)").css("margin-right", 0);
			$(".setting div:last").css("border", 0);
		})
	</script>
</head>
<body>
	<div class="install_box">
		<include file="header" />
		<div class="step">
			<div class="step_show step_2"></div>
			<ul>
				<li class="complete">环境检查</li>
				<li class="complete">参数配置</li>
				<li>开始安装</li>
				<li>成功安装</li>
				<div class="clear"></div>
			</ul>
		</div>
		<form id="form1" action="{:U('step2')}" method="post">
		<div class="setting">
			<div class="setting_check">
				<h3>填写数据库信息</h3>
				<table cellspacing="12">
					<tbody>
						<tr >
							<td width="180"  align="right">数据库主机：</td>
							<td><input name="db_host" id="db_host" value="127.0.0.1" type="text" class="install_input_text" /></td>
							<td  style="color:#999999;">通常为127.0.0.1</td>
						</tr>
						<tr >
							<td  align="right">数据库用户名：</td>
							<td><input name="db_user" id="db_user" value="root" type="text" class="install_input_text" /></td>
							<td ></td>
						</tr>
						<tr >
							<td  align="right">数据库密码：</td>
							<td><input name="db_pwd" id="db_pwd" type="text" class="install_input_text" /></td>
							<td ></td>
						</tr>
						<tr >
							<td  align="right">数据库名称：</td>
							<td><input name="db_name" id="db_name" type="text" class="install_input_text" /></td>
							<td ></td>
						</tr>
						<tr >
							<td  align="right">数据表前缀：</td>
							<td><input name="db_prefix" id="db_prefix" value="{:C('INSTALL_DB_PRE')}" type="text" class="install_input_text" /></td>
							<td  ></td>
						</tr>
						<tr >
							<td  align="right">数据库端口：</td>
							<td><input name="db_port" id="db_port" value="3306" type="text" class="install_input_text" /></td>
							<td  style="color:#999999;">默认3306，一般无需更改</td>
						</tr>
					</tbody>
			  </table>
			</div>
			<div class="menu_check">
				<h3>管理员账号</h3>
				<table cellspacing="12">
					<tbody>
						<tr >
							<td width="180" align="right">管理员姓名：</td>
							<td width="269"><input name="username" id="username" type="text" class="install_input_text" /></td>
						</tr>
						<tr >
							<td align="right">登录密码：</td>
							<td width="269"><input name="password"   type="text" class="install_input_text" /></td>
						</tr>
						<tr >
							<td align="right">再次确认密码：</td>
							<td width="269"><input name="repassword"  type="text" class="install_input_text" /></td>
						</tr>
						<tr >
							<td align="right">手机号码：</td>
							<td width="269"><input name="mobile"   type="text" class="install_input_text" /></td>
						</tr>
					</tbody>
			  </table>
			</div>
		</div>
		<div class="next">
			<input type="button" value="上一步" class="admin_submit" onclick="window.location.href='{:U('step1')}';"/>
			&nbsp;&nbsp;&nbsp;
			<input id="J_submit" type="submit" value="下一步" class="admin_submit"/>
		</div>
		</form>
		 
	</div>
	<include file="footer" />
	 
</body>
</html>